package com.museyu.model;

import lombok.Data;
import java.util.List;
import java.util.Map;

@Data
public class GameState {
    private String roomId;
    private String state; // WAITING, BIDDING, PLAYING, ENDED
    private List<PlayerView> players;
    private String currentPlayerId;
    private String dealerId;
    private String message;
    private String type; // ROOM_UPDATE, GAME_UPDATE, ROOM_CLOSED
    
    @Data
    public static class PlayerView {
        private String id;
        private String name;
        private List<Card> cards;
        private boolean isDealer;
        private boolean isCurrentPlayer;
        private boolean hasDrawn;
        private int points;
        private boolean isRoomOwner;
    }
} 